package com.kube.design.template;

/**
 * @author q.zhangr
 * @version 1.0.0
 * @date 2020/7/16
 */
public class HookConcreteClass extends AbstractHookAbstractClass {


    @Override
    public void abstractMethod1() {
        System.out.println("抽象方法1的实现被调用...");
    }

    @Override
    public void abstractMethod2() {
        System.out.println("抽象方法2的实现被调用...");
    }

    @Override
    public boolean HookMethod2() {
        return false;
    }

    @Override
    public void HookMethod1()
    {
        System.out.println("钩子方法1被重写...");
    }
}
